package com.dota.biz.menu.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dota.biz.menu.domain.Menu;
import com.dota.biz.menu.persistence.MenuMapper;
import com.dota.biz.service.base.BaseService;

@Service
public class MenuService extends BaseService<MenuMapper, Menu> {
	@Autowired
	private MenuMapper menuMapper;
	
	public List<Menu> selectMenuNameByLevel(int level) {
		return menuMapper.selectMenuNameByLevel(level);
	}
}
